package app.com.business.bo;

import java.util.Date;

public class AffectationGeneralDepartement {
	private Long idAffectationGeneral ;
	
	private Date dateAffectation ;
	
	private String codeAffectation ;
	private Salle salle;
	private Prof prof;
	
	
	
	
	public AffectationGeneralDepartement() {
	}
	public AffectationGeneralDepartement(
			String codeAffectation, Salle salle,
			Prof prof) {
		this.codeAffectation=codeAffectation ;
		this.salle = salle;
		this.prof = prof;
		this.dateAffectation = new Date();
	}
	
	@Override
	public String toString() {
		return codeAffectation+" "+salle;
				
	}
	public Long getIdAffectationGeneral() {
		return idAffectationGeneral;
	}
	public void setIdAffectationGeneral(Long idAffectationGeneral) {
		this.idAffectationGeneral = idAffectationGeneral;
	}
	
	
	public Salle getSalle() {
		return salle;
	}
	public void setSalle(Salle salle) {
		this.salle = salle;
	}
	public Prof getProf() {
		return prof;
	}
	public void setProf(Prof prof) {
		this.prof = prof;
	}
	
	public Date getDateAffectation() {
		return dateAffectation;
	}
	public void setDateAffectation(Date dateAffectation) {
		this.dateAffectation = dateAffectation;
	}
	public String getCodeAffectation() {
		return codeAffectation;
	}
	public void setCodeAffectation(String codeAffectation) {
		this.codeAffectation = codeAffectation;
	}
	
}